﻿using System;
using System.Linq;
using System.Text;
using SqlSugar;

namespace DB.Main
{
    ///<summary>
    ///设备信息表
    ///</summary>
    [SugarTable("t_Device")]
    public partial class t_Device
    {
           public t_Device(){


           }
           /// <summary>
           /// Desc:主键唯一标识Id
           /// Default:
           /// Nullable:False
           /// </summary>           
           [SugarColumn(IsPrimaryKey=true,IsIdentity=true)]
           public long Id {get;set;}

           /// <summary>
           /// Desc:设备名称
           /// Default:
           /// Nullable:True
           /// </summary>           
           public string deviceName {get;set;}

           /// <summary>
           /// Desc:设备唯一标识16进制形式
           /// Default:
           /// Nullable:True
           /// </summary>           
           public string TerminalId {get;set;}

           /// <summary>
           /// Desc:设备Id10进制形式
           /// Default:
           /// Nullable:True
           /// </summary>           
           public long? deviceId {get;set;}

           /// <summary>
           /// Desc:设备大类
           /// Default:
           /// Nullable:True
           /// </summary>           
           public long? bigTypeId {get;set;}

           /// <summary>
           /// Desc:设备小类
           /// Default:
           /// Nullable:True
           /// </summary>           
           public long? smallTypeId {get;set;}

           /// <summary>
           /// Desc:SIM卡号
           /// Default:
           /// Nullable:True
           /// </summary>           
           public string simNo {get;set;}

           /// <summary>
           /// Desc:排序号
           /// Default:
           /// Nullable:True
           /// </summary>           
           public long? orderNo {get;set;}

           /// <summary>
           /// Desc:安装人员
           /// Default:
           /// Nullable:True
           /// </summary>           
           public string Installer {get;set;}

           /// <summary>
           /// Desc:安装日期
           /// Default:
           /// Nullable:True
           /// </summary>           
           public DateTime? InstallDate {get;set;}

           /// <summary>
           /// Desc:经度
           /// Default:
           /// Nullable:True
           /// </summary>           
           public double? longitude {get;set;}

           /// <summary>
           /// Desc:纬度
           /// Default:
           /// Nullable:True
           /// </summary>           
           public double? latitude {get;set;}

           /// <summary>
           /// Desc:生产厂家
           /// Default:
           /// Nullable:True
           /// </summary>           
           public string manufacturer {get;set;}

           /// <summary>
           /// Desc:位置说明
           /// Default:
           /// Nullable:True
           /// </summary>           
           public string localInstructions {get;set;}

           /// <summary>
           /// Desc:所在供电
           /// Default:
           /// Nullable:True
           /// </summary>           
           public long? ElectricId {get;set;}

           /// <summary>
           /// Desc:设备线路Id
           /// Default:
           /// Nullable:True
           /// </summary>           
           public long? LineId {get;set;}

           /// <summary>
           /// Desc:所属树形节点Id
           /// Default:
           /// Nullable:True
           /// </summary>           
           public long? parentId {get;set;}

           /// <summary>
           /// Desc:树节点路径
           /// Default:
           /// Nullable:True
           /// </summary>           
           public string nodePath {get;set;}

           /// <summary>
           /// Desc:设备是否故障
           /// Default:
           /// Nullable:True
           /// </summary>           
           public bool? isError {get;set;}

           /// <summary>
           /// Desc:是否在线
           /// Default:
           /// Nullable:True
           /// </summary>           
           public bool? isOnline {get;set;}

           /// <summary>
           /// Desc:数据录入时间
           /// Default:
           /// Nullable:True
           /// </summary>           
           public DateTime? createTime {get;set;}

           /// <summary>
           /// Desc:是否已删除
           /// Default:0
           /// Nullable:True
           /// </summary>           
           public bool? isDel {get;set;}

           /// <summary>
           /// Desc:删除时间
           /// Default:
           /// Nullable:True
           /// </summary>           
           public DateTime? DelTime {get;set;}

           /// <summary>
           /// Desc:删除用户Id
           /// Default:
           /// Nullable:True
           /// </summary>           
           public long? DelUser {get;set;}

           /// <summary>
           /// Desc:
           /// Default:
           /// Nullable:True
           /// </summary>           
           public DateTime? LastDataTime {get;set;}

           /// <summary>
           /// Desc:
           /// Default:
           /// Nullable:True
           /// </summary>           
           public int? alarm {get;set;}

           /// <summary>
           /// Desc:
           /// Default:
           /// Nullable:True
           /// </summary>           
           public int? earlyWarn {get;set;}

           /// <summary>
           /// Desc:
           /// Default:
           /// Nullable:True
           /// </summary>           
           public decimal? valueA {get;set;}

           /// <summary>
           /// Desc:
           /// Default:
           /// Nullable:True
           /// </summary>           
           public decimal? valueB {get;set;}

           /// <summary>
           /// Desc:
           /// Default:
           /// Nullable:True
           /// </summary>           
           public decimal? valueC {get;set;}

           /// <summary>
           /// Desc:
           /// Default:
           /// Nullable:True
           /// </summary>           
           public long? ProvinceId {get;set;}

           /// <summary>
           /// Desc:
           /// Default:
           /// Nullable:True
           /// </summary>           
           public long? CityId {get;set;}

           /// <summary>
           /// Desc:
           /// Default:
           /// Nullable:True
           /// </summary>           
           public bool? putAlarm {get;set;}

           /// <summary>
           /// Desc:
           /// Default:
           /// Nullable:True
           /// </summary>           
           public bool? putOperation {get;set;}

    }
}
